export interface ILoginInfo{
  logo_square:string
  logo_rectangle:string
  login_logo:string
  slide:string[]
}

export interface IMenu{
  path:string
  title:string
  icon:string
  header:string
  is_header:number
  children?:IMenu
}

export interface IUserInfo{
  id:number
  account:string
  head_pic:string
}

export interface ILogin{
  token:string
  expires_time:number
  menus:IMenu[]
  unique_auth:string[]
  user_info:IUserInfo
  logo:string
  logo_square:string
  version:string
  newOrderAudioLink:string
}

export interface IListParams{
  page:number
  limit:number
  name:string
  roles:string
  status:0|1|''
}

export interface Admin{
  id:number
  account:string
  head_pic:string
  pwd:string
  real_name:string
  roles:string
  last_ip:string
  last_time:number
  add_time:number
  login_count:number
  level:number
  status:number
  is_del:number
  _add_time:string
  _last_time:string
  statusLoading:boolean
}

export interface ICreateData{
  account:string
  conf_pwd:string
  pwd:string
  roles:string
  status:number
  real_name:string
}
